
class order
{
private:
	size_t size_block;
	size_t capacity;
	size_t size;
	int * data;
	
	inline const size_t Calc_Capacity(const size_t);
	inline const int Max (int, int);


public:
	
	order(const size_t _capacity = 0, const size_t _size_block = 1);

	const order & operator =(const int);
	const order & operator = (const order &);
	order(const order &);
	int & operator [] (int index);
	const order operator + (const order &);
	const order & operator + (const int);
	const order & operator - (const int);
	 order & operator ++ (const int);
	const order & operator -- (const int);




//	order & operator ++ (int number);
//	order & operator -- (int number);

/*	{
		order new_obj(cp_obj.capacity, cp_obj.size_block);
		//new_obj = cp_obj;
		for (size_t i= 0; i< cp_obj.capacity; ++i) {new_obj.data[i] = cp_obj.data[i];}
	}
*/
	
	
	void Show(size_t count_col= 10);

	
	
	~order();

};

